package com.wits.platform.dto;

import java.io.Serializable;

public class ResourceDTO implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -6777189730852133954L;

	private String RSC_ID;
	
	private String RSC_NAME;
	
	private String MU_ID;
	
	private String CHECKED;
	
	public String toRightTree(){
		StringBuilder str=new StringBuilder();
		str.append("{\"id\":\"").append(this.RSC_ID)
			.append("\",\"name\":\"").append(this.RSC_NAME)
			.append("\",\"type\":\"resource")
		    .append("\",\"pId\":\"").append(MU_ID)
		    .append("\",\"checked\":").append(this.CHECKED)
		    .append("}");
		return str.toString();
	}
}
